package com.market.product.common.domain;

/**
 * 商品规格实体类
 */
public class ProductRuleAttrInfo {
    /**
     * ID
     */
    private Integer id;

    /**
     * 规格
     */
    private Integer ruleId;
    /**
     * 类目名称
     */
    private String name;
    /**
     * 规格值
     */
    private String attrValue;

    @Override
    public String toString() {
        return "ProductRuleAttrInfo{" +
                "id=" + id +
                ", ruleId=" + ruleId +
                ", name='" + name + '\'' +
                ", attrValue='" + attrValue + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRuleId() {
        return ruleId;
    }

    public void setRuleId(Integer ruleId) {
        this.ruleId = ruleId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAttrValue() {
        return attrValue;
    }

    public void setAttrValue(String attrValue) {
        this.attrValue = attrValue;
    }

    public ProductRuleAttrInfo(Integer id, Integer ruleId, String name, String attrValue) {
        this.id = id;
        this.ruleId = ruleId;
        this.name = name;
        this.attrValue = attrValue;
    }
}
